module.exports = (time) => {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve('finished');
    }, time)
  })
}